package hu.kisprof.quiz.model.bean;

import java.io.Serializable;
import java.util.TreeSet;

public class Question implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7898579134164273365L;
	private int id;
	private String question;
	private TreeSet<String> badAnswers;
	private int difficulty;
	private String goodAns;
	private TreeSet<Topic> topics;
	
	
	public Question(int id, String question, TreeSet<String> badAnswers, int difficulty, String goodAns, TreeSet<Topic> topics){
		this.id = id;
		this.question = question;
		this.badAnswers = badAnswers;
		this.difficulty = difficulty;
		this.goodAns = goodAns;
		this.topics = topics;
	}
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public TreeSet<String> getBadAnswers() {
		return badAnswers;
	}
	public void setBadAnswers(TreeSet<String> badAnswers) {
		this.badAnswers = badAnswers;
	}
	public int getDifficulty() {
		return difficulty;
	}
	public void setDifficulty(int difficulty) {
		this.difficulty = difficulty;
	}
	public String getGoodAns() {
		return goodAns;
	}
	public void setGoodAns(String goodAns) {
		this.goodAns = goodAns;
	}
	public TreeSet<Topic> getTopics() {
		return topics;
	}
	public void setTopics(TreeSet<Topic> topics) {
		this.topics = topics;
	}
	
	
	
	
}
